package com.jiazhong.basic.pack0718;

// 反射---类
public class DemoA {
    public static void main(String[] args) throws Exception {
        Class c1 = Person.class;
        Class c2 = Class.forName("com.jiazhong.pack0718.Person");
        Person p = new Person();
        Class c3 = p.getClass();
        // 8个封装类
        Class c4 = Integer.TYPE;
        System.out.println(c1);
        System.out.println(c2);
        System.out.println(c3);
        System.out.println(c4);
    }
}
